package com.weixing.mall.provider.api.model.enums;

import com.weixing.mall.base.enums.IBaseEnum;
import lombok.NoArgsConstructor;

@NoArgsConstructor
public enum GoodsTypeEnum implements IBaseEnum<Integer> {

    //0、不展示  1、展示
    SELT(1,"自产"),
    EXTERNAL(2,"外采");

    private int value;
    private String desp;

    GoodsTypeEnum(int value, String desp) {
        this.value = value;
        this.desp = desp;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }
}
